<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>设备信息维护编辑</title>
	<script>
        var requireExtraPaths = {
            extrance: '../../../master_js/setting/sysEquipInfoSetEdit'
        };
	</script>
<jsp:include flush="true" page="../../base/base.jsp"></jsp:include>

</head>
<body style="background-color: #fff;">
	<h2 class="title-style1 mt20">
		<span>设备信息维护</span>
	</h2>
	<form class="mt30 pr-s" id="formData">
	<input type=hidden id="eqmtId" name="eqmtId">
		<ul class="form-grid form-grid2 clearfix">
			<li style="position: relative">
				<label class="label-text label-require">
					<span class="red-star">*</span>设备ID：
				</label>
				<input class="input-text" type="text" id="eqmtCd" name="eqmtCd" placeholder="请录入8位字符" maxlength="8" 
					data-validator="{required:true, minLength:8, maxLength:8}" onkeyup="value=value.replace(/[^\d]/g,'')" >
			</li>
			<li style="position: relative">
			<label class="label-text">SIM卡号：</label> 
				<input class="input-text" type="text" id="simCardno" name="simCardno" placeholder="请输入SIM卡号" maxlength="32">
			</li>
			<!-- <li style="position: relative">
				<label class="label-text label-require">
					<span class="red-star">*</span>所属企业：
				</label>
				<input class="input-text" type="text" user-type="treeDialog" placeholder="" readonly="readonly" name='corpName'
					   data-options="{url: '/sysCorpInfo/getCorpTree.htm',name: 'corpName',idKey: 'corpId',pIdKey: 'parentCorpId'}" data-validator="{required:true}">
				<span class="inner-icon-tree"></span> 
				<input type="hidden" id="qcarCorpId-f" name="corpId">
			</li> -->
			<li style="position: relative">
				<label class="label-text label-require">
					<span class="red-star">*</span>所属机构：
				</label>
				<input class="input-text" type="text" user-type="treeDialog" placeholder="" readonly="readonly" name='organName' data-validator="{required:true}"
					   data-options="{url: '/baseOrgan/getBaseOrganList.htm',name: 'organName',idKey: 'organId',pIdKey: 'parentOrganId',cascade:'rltvCarId'}">
				<span class="inner-icon-tree"></span> 
				<input type="hidden" id="qcarOrganId-f" name="organId">
				<input type="hidden" id="qcarCorpId-f" name="corpId">
			</li>
			<li>	
				<label class="label-text">
					<span class="red-star">*</span>关联车辆：
				</label> 
				<select style="width: 187px;" id=rltvCarId name="rltvCarId" data-options="{url:'/baseCarInfo/getBaseCarInfoListForEq.htm',textField:'licPltNo',idField:'carId',param:'organId',load:false}" data-validator="{required:true}"></select>
			</li>
			<li> 
				<label class="label-text label-require">
					<span class="red-star">*</span>设备状态：
				</label>
				<select style="width: 187px;" dict="EQS00000"  name="eqmtSt" id="eqmtSt"  data-validator="{required:true}" ></select>
			</li>
			<li>
				<label class="label-text">生产厂家：</label> 
				<select style="width: 187px;" dict="EQFA0000"  name="produceFacty" id="produceFactyDlg"></select>
			</li>
			<li>
				<label class="label-text label-require"">
					<span class="red-star">*</span>设备类型：
				</label>
				<select style="width: 187px;" dict="EQFA0100"  name="eqmtType" id="eqmtType" data-validator="{required:true}"></select>
				<%--<select style="width: 187px;" id="eqmtTypeDlg" name="eqmtType" ></select>--%>
			</li>
			<li>
				<label class="label-text">购买日期：</label> 
				<input readonly="readonly" class="input-text" type="text" id="prchDate" name="prchDate"  onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})" placeholder="格式:YYYY-MM-DD">
			</li>
			<li>
				<label class="label-text">版本名称：</label> 
				<input class="input-text" type="text" id="vrsnName" name="vrsnName" readonly="readonly"  placeholder="无需填写...">
			</li>
			<li class="li-textarea mb0">
				<label class="label-text vt">备注：</label>
				<textarea id="remark" name="remark"  maxlength="200" placeholder="请输入备注" class="vt"></textarea>
			</li>
		</ul>
	</form>
</body>
</html>